headers = green_types.h green_returns.h bytecode_definition.h
objects = green.o green_main.o
objects0 = green0.o green_main0.o

green-interpreter: $(objects)
	gcc -o green-interpreter $(objects) -O2

green.o: $(headers) green.c
	gcc -c green.c -O2

green_main.o: $(headers) green_main.c
	gcc -c green_main.c -O2

green0: $(objects0)
	gcc -o green0 $(objects0) -g

green0.o: $(headers) green.c
	gcc -c green.c -o green0.o -g

green_main0.o: $(headers) green_main.c
	gcc -c green_main.c -o green_main0.o -g

clean:
	rm $(objects) $(objects0)
